#ifndef _LOCAL_CMD_H_
#define	_LOCAL_CMD_H_

#include "main.h"

const int PPP4G_CONFIG_CMD = 0 ;
const int VPN_CONFIG_CMD   = 1 ;
const int VLAN_CONFIG_CMD  = 2 ;
const int VLAN_PRO_CONFIG_CMD = 3 ;
const int PEER_MAC_CONFIG_CMD = 4 ;


const int ADD = 0 ;
const int DEL = 1 ;
const int MOD = 2 ;
const int QUE = 3 ;

extern bool dealCmdLocal(char buf[], int conn) ;
extern bool handlePeerMacConfig (char *str[], int sockfd) ;
extern bool handlePeerMacConfigMod(char *str[]) ;


extern bool handVlanConfigCmd(char *str[], int sockfd) ;
extern bool handVlanConfigCmdAdd(char * str [ ]) ;

#endif
